<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group col-sm-12">
        <div class="panel-heading" style="font-size: 16px;font-weight: bold;">基础信息</div>
    </div>

    <div class="form-group col-sm-12">
        <h3 style="text-align: center;">{$row.name|htmlentities}</h3>
    </div>


    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">项目名称:</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" type="text" value="{$row.name}" readonly>
            </div>
        </div>
    </div>
    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">主责部门:</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" type="text" value="{$row.chargedep_names}" readonly>
            </div>
        </div>
    </div>
    
    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">协办部门:</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" type="text" value="{$row.assist_names}" readonly>
            </div>
        </div>
    </div>

    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">分管区领导:</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" type="text" value="{$row.branch_leader_name}" readonly>
            </div>
        </div>
    </div>

    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">建设地址:</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" type="text" value="{$row.build_address}" readonly>
            </div>
        </div>
    </div>

    
    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">落户街道:</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" type="text" value="{$row.settle_street_names}" readonly>
            </div>
        </div>
    </div>

    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">产业类别:</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" type="text" value="{$row.industry_category_name}" readonly>
            </div>
        </div>
    </div>

    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">产业领域:</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" {if $row.industry_realm_id eq 14 } style="width: 49%;float: left;" {/if} type="text" value="{$row.industry_realm_name}" readonly>
                {if $row.industry_realm_id eq 14 }
                <input class="form-control"  style="width: 49%;float: left;margin-left:2px;" type="text" value="{$row.industry_realm_other}" readonly>
                {/if}
            </div>
        </div>
    </div>

    {if false}
    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">五大产业:</label>
            <div class="col-xs-12 col-sm-8">
                <!-- <input class="form-control" type="text" value="{$row.five_industry_name}" readonly> -->

                <input class="form-control" {if $row.five_industry_id eq 6 } style="width: 49%;float: left;" {/if} type="text" value="{$row.five_industry_name}" readonly>
                {if $row.five_industry_id eq 6 }
                <input class="form-control"  style="width: 49%;float: left;margin-left:2px;" type="text" value="{$row.five_industry_other}" readonly>
                {/if}

            </div>
        </div>
    </div>
    {/if}

    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">投资类别:</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" type="text" value="{$row.asset_type_name}" readonly>
            </div>
        </div>
    </div>

    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">总投资:</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" type="text" value="{$row.investment_total}" readonly>
            </div>
        </div>
    </div>


    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">内资(亿元):</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" type="text" value="{$row.domestic_capital}" readonly>
            </div>
        </div>
    </div>

    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">外资(万美元):</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" type="text" value="{$row.foreign_capital}" readonly>
            </div>
        </div>
    </div>

    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">合资(万美元):</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" type="text" value="{$row.whole_capital}" readonly>
            </div>
        </div>
    </div>


    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">载体情况:</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" style="width: 44%;float: left;" type="text" value="{$row.carrier_name}" readonly>
                <input class="form-control" style="width: 44%; float: left;margin-left: 2px;" type="text" value="{$row.carrier_id_relation}" readonly>
                <span style="line-height: 31px;">{$row.carrier_id_relation_unit}</span>
            </div>
        </div>
    </div>

    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">项目类别:</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" type="text" value="{$row.project_source_names}" readonly>
            </div>
        </div>
    </div>

    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">行业类别:</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" type="text" value="{$row.trade_category_names}" readonly>
            </div>
        </div>
    </div>

    <!-- <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">区领导接洽:</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control" type="text" value="{$row.leader_names}" readonly>
            </div>
        </div>
    </div> -->

    <div class="form-group col-sm-6">
        <div class="row">
            <label class="control-label col-xs-12 col-sm-4">项目简介:</label>
            <div class="col-xs-12 col-sm-8">
                <textarea readonly class="form-control" rows="4" cols="90">{$row.summary}</textarea>
            </div>
        </div>
    </div>

    {if $row_stage}
        <div class="form-group col-sm-12">
            <div class="panel-heading" style="font-size: 16px;font-weight: bold;">项目阶段</div>
        </div>
        {volist name='row_stage' id='v1'}
        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">项目阶段:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="{$v1.project_stage_name}" readonly>
                </div>
            </div>
        </div>
        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">时间:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="{$v1.project_stage_time_text}" readonly>
                </div>
            </div>
        </div>
        {/volist}
        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">项目当前阶段:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="<?php echo $row_stage[0]['progress_status_name']?>" readonly>
                </div>
            </div>
        </div>

        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4"><?php echo $row_stage[0]['progress_status_name']?>时间:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="<?php echo $row_stage[0]['progress_status_time_text']?>" readonly>
                </div>
            </div>
        </div>

    {/if}

    {if $row_progress}
        {volist name='row_progress' id='v'}
        <div class="form-group col-sm-12">
            <div class="panel-heading" style="font-size: 16px;font-weight: bold;">推进详情</div>
        </div>
        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">进展情况:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="{$v.content}" readonly>
                </div>
            </div>
        </div>

        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">存在问题:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="{$v.problem}" readonly>
                </div>
            </div>
        </div>

        
        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">下一步措施:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="{$v.next_measure}" readonly>
                </div>
            </div>
        </div>

        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">更新时间:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="{$v.progress_time_text}" readonly>
                </div>
            </div>
        </div>
        {/volist}
    {/if}


    {if $row_plan}
        {volist name='row_plan' id='vo'}
        <div class="form-group col-sm-12">
            <div class="panel-heading" style="font-size: 16px;font-weight: bold;">项目计划</div>
        </div>
        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">计划项目阶段:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="{$vo.status_name}" readonly>
                </div>
            </div>
        </div>

        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">计划时间:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="{$vo.plan_time_text}" readonly>
                </div>
            </div>
        </div>

        
        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">备注:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="{$vo.memo}" readonly>
                </div>
            </div>
        </div>
        {/volist}
    {/if}

    {if $row_centralcontact}
        {volist name='row_centralcontact' id='vo'}
        {if $key==0}
        <div class="form-group col-sm-12">
            <div class="panel-heading" style="font-size: 16px;font-weight: bold;">领导接洽信息</div>
        </div>
        {else}
        <div class="form-group col-sm-12">
            <!-- <div class="panel-heading" style="font-size: 16px;font-weight: bold;">领导接洽信息</div> -->
        </div>
        {/if}
        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">接洽区领导:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="{$vo.leader_names}" readonly>
                </div>
            </div>
        </div>

        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">接洽时间:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="{$vo.receive_time_desc}" readonly>
                </div>
            </div>
        </div>

        
        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">接洽类别:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="{$vo.contact_typename}" readonly>
                </div>
            </div>
        </div>

        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">接洽地点:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="{$vo.contact_city}" readonly>
                </div>
            </div>
        </div>

        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">参加单位:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="{$vo.join_depart_names}" readonly>
                </div>
            </div>
        </div>

        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">主责单位:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="{$vo.chargedep_names}" readonly>
                </div>
            </div>
        </div>

        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">中心陪同科室:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="{$vo.centraloffice_name}" readonly>
                </div>
            </div>
        </div>

        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">科室联系人:</label>
                <div class="col-xs-12 col-sm-8">
                    <input class="form-control" type="text" value="{$vo.contact_name}" readonly>
                </div>
            </div>
        </div>

        <div class="form-group col-sm-6">
            <div class="row">
                <label class="control-label col-xs-12 col-sm-4">会谈内容:</label>
                <div class="col-xs-12 col-sm-8">
                    <textarea readonly class="form-control" rows="4" cols="90">{$vo.content}</textarea>
                </div>
            </div>
        </div>
        {/volist}
    {/if}

    <div class="form-group layer-footer col-sm-12">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="button" class="btn btn-danger btn-rejectmemo">{:__('驳回')}</button>
            {if $row.status == 0}
                <button type="button" class="btn btn-success all_submit">{:__('审核')}</button>
            {/if}
        </div>
    </div>
</form>